<php>
    $list = D($form['option']['model'])->where($form['option']['condition'])->select();
    if($list){
        foreach($list as $vo){
</php>
<label class="checkbox-inline">
    <input type="checkbox" class="{$form.class}" name="{$form.name}[]" value="{$vo[$form['option']['data']]}" <php>if($form['value'] == $vo[$form['option']['data']]){echo 'checked';}</php> {$form.attr}>{$vo[$form['option']['title']]}
</label>
<php>  } } </php>